<?php

// phpinfo();

require_once 'mp3\Smarty.php';
require_once 'mp3\GestionarPlaylist.php';

$smarty = new mp3_Smarty();
session_start();
require 'mp3/ComprovarSessio.php';
echo $smarty->fetch('mp3\header.tpl');


if (isset($_SESSION['userid'])){

	echo $smarty->fetch('mp3\miCuenta.tpl');
}
//	$smarty->assign('arxiu', $_POST['arxiu']);
//	$smarty->assign('canco', $canco);
//	echo $smarty->fetch('mp3\formulari.tpl');
